/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufba.lasid.virt;

import br.ufba.lasid.v1.jitclouds.mda.datatypes.BasicConfiguration;
import br.ufba.lasid.v1.jitclouds.mda.datatypes.IConfiguration;
import br.ufba.lasid.v1.jitclouds.mda.datatypes.virtualization.IHypervisor;
import br.ufba.lasid.v1.jitclouds.mda.datatypes.virtualization.IVirtualMachine;
import org.libvirt.Connect;
import org.libvirt.Domain;
import org.libvirt.DomainInfo;

/**
 *
 * @author aliriosa
 */
public class VirtualMachine implements IVirtualMachine{

    IConfiguration config  = null;    
    
    public static final String OSTypeParameter = "OSType";
    public static final String UUIDParameter = "UUID";
    public static final String CpusParameter = "Cpus";
    public static final String IdParameter = "Id";
    public static final String MaxMemoryParameter = "MaxMemory";
    public static final String NameParameter = "Name";

    
   
    public VirtualMachine() {
        config = new BasicConfiguration();
    }
        
    public VirtualMachine(String URI, IConfiguration config){
        this.config = config;        
    }
               
    public IConfiguration getConfiguration() {
        return this.config;
    }

    public void setConfiguration(IConfiguration config) {
        this.config = config;
    }

    public IHypervisor getHypervisor() {
        IHypervisor Hp = this.getHypervisor();
        return Hp;
    }

    public void setHypervisor(IHypervisor hypervisor) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void execute(String command) {
       throw new UnsupportedOperationException("Not supported yet.");
       
    }

    public void shutdown() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void startup() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void reboot() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void pause() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setStatus(VMStatus status) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public VMStatus getStatus() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setID(String ID) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getID() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setDescription(String description) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getDescription() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
    
}

